package com.cow.sram.data.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


/**
 * The persistent class for the orginfo database table.
 * 
 */
@Entity
@Table(name="orginfo")
@NamedQuery(name="Orginfo.findAll", query="SELECT o FROM Orginfo o")
public class Orginfo implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private Integer orgid;

	private String description;

	private String email;

	@Temporal(TemporalType.TIMESTAMP)
	private Date gentime;

	private String homepage;

	private String juridicalperson;

	private String orgcode;

	private String orgname;

	private String orgtype;

	private Integer superorgid;

	private String telephone;
	
	private String taxpayerid;	
	private String taxpayername;
	private String tradecode;
	private String regtype;
	private String bodytype;
	private String busiarea;

	public Orginfo() {
	}

	public Integer getOrgid() {
		return this.orgid;
	}

	public void setOrgid(Integer orgid) {
		this.orgid = orgid;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Date getGentime() {
		return this.gentime;
	}

	public void setGentime(Date gentime) {
		this.gentime = gentime;
	}

	public String getHomepage() {
		return this.homepage;
	}

	public void setHomepage(String homepage) {
		this.homepage = homepage;
	}

	public String getJuridicalperson() {
		return this.juridicalperson;
	}

	public void setJuridicalperson(String juridicalperson) {
		this.juridicalperson = juridicalperson;
	}

	public String getOrgcode() {
		return this.orgcode;
	}

	public void setOrgcode(String orgcode) {
		this.orgcode = orgcode;
	}

	public String getOrgname() {
		return this.orgname;
	}

	public void setOrgname(String orgname) {
		this.orgname = orgname;
	}

	public String getOrgtype() {
		return this.orgtype;
	}

	public void setOrgtype(String orgtype) {
		this.orgtype = orgtype;
	}

	public Integer getSuperorgid() {
		return this.superorgid;
	}

	public void setSuperorgid(Integer superorgid) {
		this.superorgid = superorgid;
	}

	public String getTelephone() {
		return this.telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getTaxpayerid() {
		return taxpayerid;
	}

	public void setTaxpayerid(String taxpayerid) {
		this.taxpayerid = taxpayerid;
	}

	public String getTaxpayername() {
		return taxpayername;
	}

	public void setTaxpayername(String taxpayername) {
		this.taxpayername = taxpayername;
	}

	public String getTradecode() {
		return tradecode;
	}

	public void setTradecode(String tradecode) {
		this.tradecode = tradecode;
	}

	public String getRegtype() {
		return regtype;
	}

	public void setRegtype(String regtype) {
		this.regtype = regtype;
	}

	public String getBodytype() {
		return bodytype;
	}

	public void setBodytype(String bodytype) {
		this.bodytype = bodytype;
	}

	public String getBusiarea() {
		return busiarea;
	}

	public void setBusiarea(String busiarea) {
		this.busiarea = busiarea;
	}
}